<?php 
namespace Common\Util;
/**
 * 缓存工具类
 * @author liuyang
 * @version 2.0
 * @since 20160417
 */
class CacheUtils {
    
    const PRI_PREFIX="hkairport:";
    const VERSION_PREFIX="version_";
    const TELPHONE_PREFIX="telphone_";
	const SHOPINFO_PREFIX = 'shopInfo_';//店铺信息
	const WELCOME_PREFIX = 'welcome_';//欢迎页图片
	   
	public static function get($name){
	    return S(self::PRI_PREFIX.$name);
	}
	
	public static function set($name,$val,$expire){
	    return S(self::PRI_PREFIX.$name,$val,$expire);
	}
	 
 
	 
}
?>